Mnemonics (aka "access keys") should be used whenever possible:
https://developer.gnome.org/hig/guidelines/keyboard.html#access-keys
They are currently missing from the confirmation dialog, add them.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051>
secondary_text: _('If you remove the extension, you need to return to download it if you want to enable it again'),
});
- dialog.add_button(_('Cancel'), Gtk.ResponseType.CANCEL);
- dialog.add_button(_('Remove'), Gtk.ResponseType.ACCEPT)
+ dialog.add_button(_('_Cancel'), Gtk.ResponseType.CANCEL);
+ dialog.add_button(_('_Remove'), Gtk.ResponseType.ACCEPT)
.get_style_context().add_class('destructive-action');
dialog.connect('response', (dlg, response) => {